// "Copyright [2021] <Copyright Shengkai Lin>"

// This module is the task generator, which is response
// to generate new tasks as the users on the cloud.

package cluster.task_scheduler.task_generator;

simple TaskGenerator {
    parameters:
        int tmp_tasktype = default(2);
        int maxnumGpus = default(16);
        int maxnumBatches = default(1);
        int modelsize = default(10000000);
        double compute_time = default(0);
        double task_interval = default(0);
        int numGpus = default(maxnumGpus);
        int numBatches = default(maxnumBatches);
        int numJobs = default(1);
    gates:
        output controller_port;
}